using System;
using System.Windows.Forms;

namespace Be.Timvw.Framework.Windows.Forms
{
    public partial class TypeTreePicker : Form
    {
        public TypeTreePicker()
        {
            this.InitializeComponent();
        }

        public virtual Type SelectedType
        {
            get { return this.typeTree1.SelectedType; }
            set { this.typeTree1.SelectedType = value; }
        }

        public virtual void Clear()
        {
            this.typeTree1.Clear();
        }

        public virtual void LoadTypes(Type[] types)
        {
            this.typeTree1.LoadTypes(types);
        }
    }
}